home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 June
/
EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso
/
earcd
/
cmdity
/
clicker.lha
/
Clicker
/
Source
/
SMakefile
< prev
next >
Wrap
Makefile
|
1996-05-18
|
897b
|
43 lines
# Makefile for Clicker, using SAS/C as compiler.
# Set compiler options in the SCOPTIONS file, or define PROCESSOR and MATH
# variables to the appropriate options.
CC = sc
# PROCESSOR = CPU=68020
# MATH = MATH=68881
CPPFLAGS =
CFLAGS = $(PROCESSOR) $(MATH)
LDFLAGS = LINK $(PROCESSOR) $(MATH)
RM = Delete
OBJS = main.o broker.o sound.o prefs.o gui.o sample.o
HDRS = main.h broker.h sound.h prefs.h gui.h sample.h
clicker : $(OBJS)
$(CC) $(OBJS) $(LDFLAGS) LIB=LIB:amiga.lib
main.o : main.c $(HDRS)
$(CC) $(CPPFLAGS) $(CFLAGS) $<
broker.o : broker.c broker.h main.h
$(CC) $(CPPFLAGS) $(CFLAGS) $<
sound.o : sound.c sound.h prefs.h main.h sample.h
$(CC) $(CPPFLAGS) $(CFLAGS) $<
prefs.o : prefs.c prefs.h
$(CC) $(CPPFLAGS) $(CFLAGS) $<
gui.o : gui.c gui.h
$(CC) $(CPPFLAGS) $(CFLAGS) $<
sample.o : sample.c sample.h
$(CC) $(CPPFLAGS) $(CFLAGS) $<
clean :
$(RM) $(OBJS)